package com.hzw.saas.service.ds.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzw.saas.api.ds.enums.ClientTypeEnum;
import com.hzw.saas.common.config.model.BaseLogicModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
    * 客户端营销广告位
    */
@ApiModel(value="客户端营销广告位")
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "tb_marketing_ad")
public class MarketingAd extends BaseLogicModel {
    private static final long serialVersionUID = 3472664116684006440L;
    /**
     * 标题
     */
    @TableField(value = "title")
    @ApiModelProperty(value="标题")
    private String title;

    /**
     * 描述
     */
    @TableField(value = "description")
    @ApiModelProperty(value="描述")
    private String description;

    /**
     * 图片地址
     */
    @TableField(value = "image")
    @ApiModelProperty(value="图片地址")
    private String image;

    /**
     * 链接
     */
    @TableField(value = "url")
    @ApiModelProperty(value="链接")
    private String url;

    /**
     * 客户端类型 ds:Device Studio
     */
    @TableField(value = "client_type")
    @ApiModelProperty(value="客户端类型 ds:Device Studio")
    private ClientTypeEnum clientType;
}